package cn.lysj.framework.common.repository;

import cn.lysj.framework.base.BaseRepository;
import cn.lysj.framework.common.domain.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author zk
 * @description 用户表数据处理层
 * @create 2018-07-25 15:02:19
 **/
public interface UserRepository extends BaseRepository<User> {

    User findByUsername(String username);

    User findByStoreId(String storeId);

    Page<User> findByStoreId(Pageable pageable,String storeId);



}